<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:fragment="header">
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>一号轴承网</title>
	<meta name="keywords" content="一号轴承网">
	<meta name="description" content="一号轴承网">
	<link rel="shortcut icon" href="/img/logo.ico" type="image/x-icon">
	<link href="css/bootstrap.min.css?v=3.3.6"
		  th:href="@{/css/bootstrap.min.css?v=3.3.6}" rel="stylesheet">
	<link href="/css/font-awesome.css?v=4.4.0"
		  th:href="@{/css/font-awesome.css?v=4.4.0}" rel="stylesheet">
	<link href="/css/plugins/bootstrap-table/bootstrap-table.min.css"
		  th:href="@{/css/plugins/bootstrap-table/bootstrap-table.min.css}"
		  rel="stylesheet">
	<link href="/css/plugins/jsTree/style.min.css" rel="stylesheet">
	<link href="/css/plugins/jqTreeGrid/jquery.treegrid.css"
		  rel="stylesheet">
	<!--summernote css -->
	<link href="/css/plugins/summernote/summernote.css"
		  rel="stylesheet">
	<link href="/css/plugins/summernote/summernote-0.8.8.css"
		  rel="stylesheet">
	<link href="/css/plugins/summernote/summernote-bs3.css"
		  rel="stylesheet">
	<link href="css/animate.css" th:href="@{/css/animate.css}"
		  rel="stylesheet">
	<link href="/css/plugins/chosen/chosen.css" rel="stylesheet">
	<link href="/css/style.css?v=4.1.0" th:href="@{/css/style.css?v=4.1.0}"
		  rel="stylesheet">
	<link rel="stylesheet" href="/css/plugins/datapicker/bootstrap-datetimepicker.css">
	<link href="/css/front/style.css" rel="stylesheet" type="text/css">


</head>

<div th:fragment="footer">
	<script src="/js/jquery.min.js?v=2.1.4"></script>
	<script src="/js/bootstrap.min.js?v=3.3.6"></script>
	<script src="/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
	<script src="/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
	<script src="/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
	<script src="/js/plugins/validate/jquery.validate.min.js"></script>
	<script src="/js/plugins/validate/messages_zh.min.js"></script>
	<script src="/js/plugins/jsTree/jstree.min.js"></script>
	<script src="/js/plugins/jqTreeGrid/jquery.treegrid.min.js"></script>
	<script src="/js/plugins/jqTreeGrid/jquery.treegrid.extension.js"></script>
	<script src="/js/plugins/jqTreeGrid/jquery.treegrid.bootstrap3.js"></script>
	<script src="/js/plugins/chosen/chosen.jquery.js"></script>
	<script src="/js/plugins/layer/layer.js"></script>
	<script src="/js/content.js?v=1.0.0"></script>

    <script src="/js/plugins/datapicker/bootstrap-datetimepicker.min.js"></script>
	<script src="/js/plugins/datapicker/bootstrap-datetimepicker.zh-CN.js"></script>
	<!--summernote-->
	<script src="/js/plugins/summernote/summernote.js"></script>
	<script src="/js/plugins/summernote/summernote.min.js"></script>
	<script src="/js/plugins/summernote/summernote-zh-CN.js"></script>


</div>
<div class="left_menu" th:fragment="menu">
	<div class="lmenubox m-b-10" shiro:hasRole="member">
		<h3>基础信息</h3>
		<ul>
			<li><a href="/member/welcome" rel="nofollow" th:class="${focus==0?'inlmenu':''}">欢迎中心</a></li>
			<li><a href="/member/center" rel="nofollow" th:class="${focus==1?'inlmenu':''}">用户信息</a></li>
		</ul>
	</div>
	<div class="lmenubox m-b-10"  shiro:hasRole="admin">
		<h3>会员管理</h3>
		<ul>
			<li><a href="/member/welcome" rel="nofollow" th:class="${focus==100?'inlmenu':''}">会员管理</a></li>
		</ul>
	</div>
	<div class="lmenubox m-b-10" shiro:hasPermission="buyer">
		<h3>买家中心</h3>
		<ul>
			<li><a href="/member/release/purchase" th:class="${focus==2?'inlmenu':''}" rel="nofollow">发布采购</a></li>
			<li><a href="/member/receive/offer" th:class="${focus==3?'inlmenu':''}" rel="nofollow">收到报价</a></li>
			<li><a href="/member/my/xunjia" th:class="${focus==4?'inlmenu':''}" rel="nofollow">我的询价</a></li>
			<li><a href="/member/liulan/remai" th:class="${focus==8?'inlmenu':''}" rel="nofollow">浏览热卖</a></li>

		</ul>
	</div>
	<div class="lmenubox m-b-10" shiro:hasPermission="seller">
		<h3>卖家中心</h3>
		<ul>
			<li><a href="/member/search/purchase" th:class="${focus==5?'inlmenu':''}" rel="nofollow">查看求购信息</a></li>
			<li><a href="/member/repertory" th:class="${focus==6?'inlmenu':''}" rel="nofollow">库存管理</a></li>
			<li><a href="/member/sent/offer" th:class="${focus==7?'inlmenu':''}" rel="nofollow">我的报价</a></li>
			<li><a href="/member/shoudao/xunjia" th:class="${focus==9?'inlmenu':''}" rel="nofollow">收到询价</a></li>
		</ul>
	</div>
</div>
<div class="top" th:fragment="logintop">
	<div class="top_m b-r-s">
		<div class="top_l">
			<span>欢迎来到一号轴承网</span><a  style="font-size: 15px;color: #ff7300;font-weight:bold;"  rel="nofollow" href="/front/index">网站首页</a>
		</div>
		<span style="float: right;padding-right: 30px;">
        	<a   style="font-size: 15px;color: #ff7300;font-weight:bold;"  rel="nofollow" href="/logout">退出</a>
    	</span>
	</div>
</div>
<div th:fragment="setpage">
	<script src="/js/appjs/front/page.js" type="text/javascript"></script>
</div>
<div th:fragment="foot1" class="box_f" style="margin-top: 20px;    border-top: 2px solid #FF7300;">
	<div class="box">
		<div class="bottom_nav" style="text-align: center; line-height: 50px;">
			<a href="/front/about" target="_blank">关于一号轴承网</a>&nbsp;┆&nbsp;
			<a href="/front/contact" target="_blank">联系我们</a>&nbsp;┆&nbsp;
			<a href="/front/law" target="_blank">法律声明</a>&nbsp;┆&nbsp;
			<a href="/front/supervision" target="_blank">诚信监督</a>&nbsp;┆&nbsp;
			<a href="/front/disclaimer" target="_blank">免责条款</a>&nbsp;┆&nbsp;
			<a href="/front/payment" target="_blank">付款说明</a>&nbsp;┆&nbsp;
			<a href="/front/news/21" target="_blank">服务产品</a>&nbsp;┆&nbsp;
			<a href="/front/news/22" target="_blank">帮助中心</a>&nbsp;┆&nbsp;
			<a href="/front/news/23" target="_blank">代销库存</a>

		</div>
	</div>
</div>
<div th:fragment="foot2" class="footer">
	<p>Copyright &copy; 2003-2017 www.01bearing.com All Rights Reserved 备案号京ICP备18026813号</p>
	<p>TEL：010-53384016 FAX：010-53384016</p>
</div>

<div class="header" th:fragment="header1">
	<div class="header_t">
		<div class="logo">
			<a title="一号轴承网" href="/front/index"><img src="/img/yihao.jpg" alt="一号轴承网" width="191" height="58"></a>
			<img src="/img/logo_notes.jpg" alt="一号轴承网" width="191" height="58">
		</div>
		<!--<a title="一号轴承网" href="#"><img src="/img/yihao1.png" alt="一号轴承网" width="193" height="70"></a></div>-->
		<form  action="/front/product/tosearch" method="get" onsubmit="return checkModel()">
			<input type="hidden" id="hid" value="1">
			<div class="search">
				<div class="search_input">
					<div id="s_border">
						<input type="text" id="model" placeholder="请输入型号" class="search_txt" name="model" value=""  style="width: 100%;">
					</div>
					<input type="submit" class="search_btn" value="">
				</div>
			</div>
		</form>
	</div>
	<script>
        function checkModel(){
            var ttt = $("#model").val();
            if (ttt==null || ttt.length<3){
                alert("型号不能为空或者少于三位")
                return false;
            }
            return true;
        }
	</script>
</div>
</html>
